package com.ashapo.example;

public class Example007DoWhile {

    /**
     * 测试do while语句
     * @param args
     */
    public static void main(String[] args) {
        // do while  语句中的do至少执行一次
        int value = 3;
        do {
            System.out.println("Value = " + value);
            value = value + 3;
        } while (value < 10);
    }
}
